<template>
  <div class="about">
    <h1>This is an about page</h1>
    <Hello/>
  </div>
</template>
<script>
  
export default  {
  components:{ 
Hello:()=>{
  if(!window.commonComponent){
        // 独立运行时
        window.commonComponent = {};
      }
      const HelloWorld = window.commonComponent.HelloWorld;
      console.log(HelloWorld);
      return HelloWorld  
   }
 },
}
</script>
